package com.excemple.compose.ui.page.home

import androidx.compose.runtime.Composable
import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
import androidx.compose.ui.graphics.Color
import androidx.hilt.navigation.compose.hiltViewModel
import androidx.navigation.NavController
import com.excemple.compose.ui.theme.AppTheme
import timber.log.Timber

/**
 *
 * Created on 2022/5/6.
 * @author tdq
 */
@Composable
fun HomePage(navController: NavController, viewModel: HomeViewModel = hiltViewModel()) {
    Timber.i("HomePage")

    val titles = viewModel.viewStates.titles


}

@Composable
fun TextTabBarView(
    index: Int,
    tabTitles: List<TabTitle>,
    modifier: Modifier = Modifier,
    contentAlign: Alignment = Alignment.Center,
    bgColor: Color = AppTheme.colors.themeUi,
    contentColor: Color = Color.White,
    onTabSelected: ((index: Int) -> Unit)? = null
) {
}